package com.goodluck.goodluckim.sdk.event;

/**
 * Created by wyj on 2018/9/17.
 */

public class UnreadEvent extends Event {

    private int sessionType;
    private int sessionId;
    private int unreadCount;

    public int getSessionType() {
        return sessionType;
    }

    public void setSessionType(int sessionType) {
        this.sessionType = sessionType;
    }

    public int getSessionId() {
        return sessionId;
    }

    public void setSessionId(int sessionId) {
        this.sessionId = sessionId;
    }

    public int getUnreadCount() {
        return unreadCount;
    }

    public void setUnreadCount(int unreadCount) {
        this.unreadCount = unreadCount;
    }

    public UnreadEvent(int eventType) {
        super(eventType);
    }

    public class EventType {
        /**
         * 所有消息的未读数
         */
        public static final int ALL_UNREAD = 1;

        /**
         * 某个会话类型的未读数
         */
        public static final int SESSION_UNREAD = 2;
    }
}
